package service;

import org.junit.Test;
import pagination.PageBean;
import pojo.Brand;

import java.util.List;

import static org.junit.jupiter.api.Assertions.*;

public class BrandServiceTest {
    BrandService brandService =new BrandService();
    @Test
    public void selectAllPage() {
        PageBean<Brand> pageBean = brandService.selectAllPage(1,5);
        List<Brand> data = pageBean.getData();
        for (Brand datum : data){
            System.out.println(datum);
        }
    }
}